From: bubblemelon <12985181+Bubblemelon@users.noreply.github.com> Date: Tue, 24 Jul 2018 18:27:21 +0000 (-0700) Subject: bin/refs: Clarify --create error message X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~20^2~26 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=61c37aa40cb19b0bb631bf5498ee517b020e1759;p=ostree.git bin/refs: Clarify --create error message Fix ref create error when existing rev not specified. Closes: #1690 Approved by: jlebon --- diff --git a/src/ostree/ot-builtin-refs.c b/src/ostree/ot-builtin-refs.c index a7f77ac8..5c2214cc 100644 --- a/src/ostree/ot-builtin-refs.c +++ b/src/ostree/ot-builtin-refs.c @@ -293,7 +293,7 @@ ostree_builtin_refs (int argc, char **argv, OstreeCommandInvocation *invocation, else if (opt_create) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, - "You must specify an existing ref when creating a new ref"); + "You must specify a revision when creating a new ref"); goto out; }